package com.ruoyi.car.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆信息对象 car
 * 
 * @author huxiqing
 * @date 2025-04-07
 */
public class Car extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆id */
    private Long carId;

    /** 供应商id */
    @Excel(name = "供应商id")
    private Long dealerId;

    /** 车辆编号 */
    @Excel(name = "车辆编号")
    private String carNum;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 模型 */
    @Excel(name = "模型")
    private String model;

    /** 指导价 */
    @Excel(name = "指导价")
    private BigDecimal guidePrice;

    /** 售价 */
    @Excel(name = "售价")
    private BigDecimal sellingPrice;

    /** 注册日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date licenseDate;

    /** 生产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date produceTime;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String carType;

    /** 里程数 */
    @Excel(name = "里程数")
    private Long mileage;

    /** 颜色 */
    @Excel(name = "颜色")
    private String color;

    /** 变速器 */
    @Excel(name = "变速器")
    private String transmission;

    /** 燃油类型 */
    @Excel(name = "燃油类型")
    private String fuelType;

    /** 引擎大小 */
    @Excel(name = "引擎大小")
    private String engineSize;

    /** 国标标准 */
    @Excel(name = "国标标准")
    private Long conditionLevel;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 特征 */
    @Excel(name = "特征")
    private String features;

    /** 装填 */
    @Excel(name = "装填")
    private String status;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Long views;

    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }

    public void setDealerId(Long dealerId) 
    {
        this.dealerId = dealerId;
    }

    public Long getDealerId() 
    {
        return dealerId;
    }

    public void setCarNum(String carNum) 
    {
        this.carNum = carNum;
    }

    public String getCarNum() 
    {
        return carNum;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }

    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }

    public void setGuidePrice(BigDecimal guidePrice) 
    {
        this.guidePrice = guidePrice;
    }

    public BigDecimal getGuidePrice() 
    {
        return guidePrice;
    }

    public void setSellingPrice(BigDecimal sellingPrice) 
    {
        this.sellingPrice = sellingPrice;
    }

    public BigDecimal getSellingPrice() 
    {
        return sellingPrice;
    }

    public void setLicenseDate(Date licenseDate) 
    {
        this.licenseDate = licenseDate;
    }

    public Date getLicenseDate() 
    {
        return licenseDate;
    }

    public void setProduceTime(Date produceTime) 
    {
        this.produceTime = produceTime;
    }

    public Date getProduceTime() 
    {
        return produceTime;
    }

    public void setCarType(String carType) 
    {
        this.carType = carType;
    }

    public String getCarType() 
    {
        return carType;
    }

    public void setMileage(Long mileage) 
    {
        this.mileage = mileage;
    }

    public Long getMileage() 
    {
        return mileage;
    }

    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }

    public void setTransmission(String transmission) 
    {
        this.transmission = transmission;
    }

    public String getTransmission() 
    {
        return transmission;
    }

    public void setFuelType(String fuelType) 
    {
        this.fuelType = fuelType;
    }

    public String getFuelType() 
    {
        return fuelType;
    }

    public void setEngineSize(String engineSize) 
    {
        this.engineSize = engineSize;
    }

    public String getEngineSize() 
    {
        return engineSize;
    }

    public void setConditionLevel(Long conditionLevel) 
    {
        this.conditionLevel = conditionLevel;
    }

    public Long getConditionLevel() 
    {
        return conditionLevel;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setFeatures(String features) 
    {
        this.features = features;
    }

    public String getFeatures() 
    {
        return features;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setViews(Long views) 
    {
        this.views = views;
    }

    public Long getViews() 
    {
        return views;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carId", getCarId())
            .append("dealerId", getDealerId())
            .append("carNum", getCarNum())
            .append("title", getTitle())
            .append("brand", getBrand())
            .append("model", getModel())
            .append("guidePrice", getGuidePrice())
            .append("sellingPrice", getSellingPrice())
            .append("licenseDate", getLicenseDate())
            .append("produceTime", getProduceTime())
            .append("carType", getCarType())
            .append("mileage", getMileage())
            .append("color", getColor())
            .append("transmission", getTransmission())
            .append("fuelType", getFuelType())
            .append("engineSize", getEngineSize())
            .append("conditionLevel", getConditionLevel())
            .append("description", getDescription())
            .append("features", getFeatures())
            .append("status", getStatus())
            .append("views", getViews())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
